package file;

import java.io.File;
import java.io.IOException;

public class file03 {
    public static void main(String[] args) throws IOException {
        File file = new File("E:\\test");
        if(!file.exists()){
            file.mkdirs();
        }
        File newFile = new File(file,"a.txt");
        boolean newFile1 = newFile.createNewFile();
        System.out.println(newFile1);

    }
}
